package com.cn.ant.modules.wechat.dao;

import com.cn.ant.common.persistence.MyBatisRepository;
import com.cn.ant.modules.wechat.entity.PrizeEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 微信活动奖项Mapper接口
 * @author AntDream
 * @version 2015-03-30
 */
@MyBatisRepository
public interface PrizeEntityMapper{

    public int delete(String id);

    public int insert(PrizeEntity record);

    public PrizeEntity get(String id);

    public int update(PrizeEntity record);

    public List<PrizeEntity> query(Map<String,Object> param);

    public int queryCount(Map<String, Object> param);

    public void deleteByHid(@Param("hid") String hid);
}
